﻿using LoveEatRabbit.ErrorCode;
using MediatR;

namespace LoveEatRabbit.API.Write.Applications.Commands.Permissions
{
    /// <summary>
    /// 添加权限请求命令
    /// </summary>
    public class PermissionCreatedCommand : IRequest<APIResult<int>>
    {
        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionName { get; set; }
        /// <summary>
        /// 权限路由
        /// </summary>
        public string PermissionURL { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public int Index { get; set; }
    }
}
